package wangxiaotao.bean.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import wangxiaotao.entity.TreeEntity;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class MenuVO implements TreeEntity<MenuVO> {
    private Integer id;
    private String resourceName;//名称
    private String component;//文件名称
    private String resourceUrl;//url
    private Integer resourceSeq;//顺序
    private String resourceIcon;//图标
    private String resourceMark;//图标
    private Integer parentId;

    private List<MenuVO> childList;

    public void setChildList(List<MenuVO> childList) {
        this.childList = childList;
    }
}
